package cn.cdeden.resource.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.cdeden.resource.domain.SysOssRecentlyViewed;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import cn.cdeden.common.excel.annotation.ExcelDictFormat;
import cn.cdeden.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 文件最近查看视图对象 sys_oss_recently_viewed
 *
 * @author Yu.
 * @date 2024-12-09
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysOssRecentlyViewed.class)
public class SysOssRecentlyViewedVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 文件编号
     */
    @ExcelProperty(value = "文件编号")
    private Long ossId;
    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 文件后缀
     */
    private String fileSuffix;

    /**
     * 模块编号
     */
    @ExcelProperty(value = "模块编号")
    private String moduleId;

    /**
     * 文件版本名称
     */
    @ExcelProperty(value = "文件版本名称")
    private String versionId;

    /**
     * 文件版本
     */
    @ExcelProperty(value = "文件版本")
    private String versionName;

    /**
     * 文件类型
     */
    @ExcelProperty(value = "文件类型")
    private String moduleType;

    /**
     * 最近查看时间
     */
    @ExcelProperty(value = "最近查看时间")
    private Date viewedTime;

    /**
     * 查看的次数
     */
    @ExcelProperty(value = "查看的次数")
    private Long viewedNum;


}
